package com.feilx.changggou.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author feilx
 * @email 852371260@qq.com
 * @date 2020-08-13 22:04:16
 */
@ApiModel
@Data
@TableName("tb_seckill_order")
public class TbSeckillOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "主键")
	private Long id;
	/**
	 * 秒杀商品ID
	 */
	@ApiModelProperty(name = "seckillId",value = "秒杀商品ID")
	private Long seckillId;
	/**
	 * 支付金额
	 */
	@ApiModelProperty(name = "money",value = "支付金额")
	private BigDecimal money;
	/**
	 * 用户
	 */
	@ApiModelProperty(name = "userId",value = "用户")
	private String userId;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(name = "createTime",value = "创建时间")
	private Date createTime;
	/**
	 * 支付时间
	 */
	@ApiModelProperty(name = "payTime",value = "支付时间")
	private Date payTime;
	/**
	 * 状态，0未支付，1已支付
	 */
	@ApiModelProperty(name = "status",value = "状态，0未支付，1已支付")
	private String status;
	/**
	 * 收货人地址
	 */
	@ApiModelProperty(name = "receiverAddress",value = "收货人地址")
	private String receiverAddress;
	/**
	 * 收货人电话
	 */
	@ApiModelProperty(name = "receiverMobile",value = "收货人电话")
	private String receiverMobile;
	/**
	 * 收货人
	 */
	@ApiModelProperty(name = "receiver",value = "收货人")
	private String receiver;
	/**
	 * 交易流水
	 */
	@ApiModelProperty(name = "transactionId",value = "交易流水")
	private String transactionId;

}
